﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace IDAL
{
    public interface IUserDAL
    {
        void FillUserWithReader(UserDetail user, System.Data.SqlClient.SqlDataReader reader);
        Boolean AddUser(UserDetail user);
        Boolean DelUserById(int id);
        Boolean UpdUser(int id,UserDetail user);
        List<UserDetail> selectUserByName(string username);
        UserDetail selectUserById(int id);
    }
}
